#define _CRT_SECURE_NO_WARNINGS
#include "game.h"

void InitBoard(char board[ROW][COLUMN], int row, int column)
{
	int i = 0;
	int j = 0;
	for (i = 0; j < row; i++)
	{
		for (j = 0; j < column; j++)
			board[i][j] = '\0';
	}
}

void DisplayBoard(char board[ROW][COLUMN], int row, int column)
{
	int i = 0;
	int j = 0;
		for (i = 0; i < row; i++)
		{
			for (j = 0; j < column; j++)
			{
				printf(" %c  |", board[i][j]);
				if (j == column - 1)
				{
					printf(" %c  \n", board[i][j]);
				}
			}
					for (j = 0; j < column; j++)
					{
						printf("---|");
						if (j == column - 1)
							printf("---\n");
					}
		}
}
